<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>元素的定时执行</title>
</head>
<body>
        <script>
         function foo () {
             console.log('abc')
         }
         function foo2 () {
             console.log('holl')
         }
         setInterval(foo,100);              //定时执行
         setInterval(foo2,100)
        </script>

</body>
</html>